package com.university.trade.service.impl;

import javax.annotation.Resource;

import com.university.trade.dao.MyAddressMapper;
import com.university.trade.entity.MyAddress;
import com.university.trade.service.MyAddressService;

public class MyAddressServiceImpl implements MyAddressService {
	@Resource
	private MyAddressMapper myAddressMapper;
	@Override
	public int insert(MyAddress record) {
		return this.myAddressMapper.insert(record);
	}
	@Override
	public int insertSelective(MyAddress record) {
		return this.myAddressMapper.insertSelective(record);
	}
	@Override
	public MyAddress selectByPrimaryKey(String myAddressId) {
		return this.myAddressMapper.selectByPrimaryKey(myAddressId);
	}
	@Override
	public int updateByPrimaryKeySelective(MyAddress record) {
		return this.myAddressMapper.updateByPrimaryKeySelective(record);
	}
	@Override
	public int updateByPrimaryKey(MyAddress record) {
		return this.myAddressMapper.updateByPrimaryKey(record);
	}
	@Override
	public int deleteByPrimaryKey(String myAddressId) {
		return this.myAddressMapper.deleteByPrimaryKey(myAddressId);
	}

}
